package cn.sunchis.demo.eureka;

import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * Eureka Server主程序
 * @Author 许亮
 * @Create 2018-8-31 22:01:37
 */
@EnableEurekaServer
@SpringBootApplication
public class EurekaServerApplication implements CommandLineRunner {
    /**
     * 程序入口
     * @param args 启动参数
     */
	public static void main(String[] args) {
        SpringApplication.run(EurekaServerApplication.class, args);
    }

	@Override
	public void run(String... arg0) throws Exception {
		
	}
}
